﻿#include "serverdisconnectevent.h"
QEvent::Type ServerDisConnectEvent::mEventType = QEvent::None;

ServerDisConnectEvent::ServerDisConnectEvent():QEvent(eventType())
{

}

ServerDisConnectEvent::~ServerDisConnectEvent()
{

}

QEvent::Type ServerDisConnectEvent::eventType()
{
    if (mEventType == QEvent::None) {
        mEventType = (QEvent::Type)QEvent::registerEventType();
    }
    return mEventType;
}
